package com.ruoyi.system.utils;

import java.math.BigDecimal;

public class NumberUtils {

    public static BigDecimal divideBy100(Long value) {
        if (value == null) {
            return BigDecimal.ZERO;
        }
        return BigDecimal.valueOf(value).divide(BigDecimal.valueOf(100));
    }


    public static String PhoneRemoveSpaces(String phone) {
        if (phone == null) {
            return "";
        }
        return phone.replace(" ", "");
    }
}
